package com.train.classeval.service.impl;

import com.train.classeval.entity.ProfessorEval;
import com.train.classeval.mapper.ProfessorEvalMapper;
import com.train.classeval.service.IProfessorEvalService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xs
 * @since 2021-10-23
 */
@Service
public class ProfessorEvalServiceImpl extends ServiceImpl<ProfessorEvalMapper, ProfessorEval> implements IProfessorEvalService {

    @Autowired
    private ProfessorEvalMapper professorEvalMapper;

    @Override
    public List<Integer> selectPro(Integer count) {
        final List<Integer> list = professorEvalMapper.selectPro(count);
        return list;
    }
}
